#ifndef SOLARMAIN_H_
#define SOLARMAIN_H_

typedef enum
{
	preflight,
	ascent,
	heating,
	cooling,
	shutdown
} STATES;

enum NETWORK_ID
{
	MESSAGE_OK		= 0b00000001,
	MESSAGE_ERROR	= 0b00000010,
	MESSAGE_DATA	= 0b00000100,
	MESSAGE_EVENT	= 0b00001000,
	MESSAGE_STAGE	= 0b00010000,
	MESSAGE_BATTERY = 0b00100000
};

extern volatile uint8_t runMainLoop;
extern volatile uint8_t runSendOK;
extern volatile uint8_t dataReceived;
extern volatile uint8_t stateChanged;
extern volatile uint8_t runBatteryCheck;
extern volatile uint8_t armStatus;

#endif